<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>选课系统首页</title>
    <link href="${base}/resources/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="${base}/resources/css/main.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${base}/resources/js/jquery.js"></script>
    <style type="text/css">
        * {
            font: 12px tahoma, Arial, Verdana, sans-serif;
        }

        html, body {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
    <script type="text/javascript">
        $().ready(function () {

            var $nav = $("#nav a");
            var $menu = $("#menu dl");
            var $menuItem = $("#menu a");

            $nav.click(function () {
                var $this = $(this);
                $nav.removeClass("current");
                $this.addClass("current");
                var $currentMenu = $($this.attr("href"));
                $menu.hide();
                $currentMenu.show();
                $("#iframe").attr("src", $($this.attr("href") + " dd a:first").attr("href"));
//$($this.attr("href")+" dd a:first").click();
// alert($($this.attr("href")+" dd a:first").attr("href"));
                return false;
            });

            $menuItem.click(function () {
                var $this = $(this);
                $menuItem.removeClass("current");
                $this.addClass("current");
            });

        });
    </script>
</head>
<body>
<script type="text/javascript">
    if (self != top) {
        top.location = self.location;
    }
    ;
</script>
<table class="main">
    <tr>
        <th class="logo">
            <a href="main.html">
                选课管理系统
            </a>
        </th>
        <th>
            <div id="nav" class="nav">
                <ul>
                    <li>
                        <a href="#partner">维护</a>
                    </li>
                    <li>
                        <a href="#settle">毕业结算</a>
                    </li>
                    <li>
                        <a href="#student">学生</a>
                    </li>
                    <li>
                        <a href="#holiday">老师</a>
                    </li>
                </ul>
            </div>
        [#--<div class="link">--]
        [#--<a href="${base}/common/houTai.html" target="_blank">腾保后台管理系统</a>|--]
        [#--<a>产品管理系统</a>|--]
        [#--<a href="${base}/common/biz_main.html" target="_blank">运营管理系统</a>|--]
        [#--<a href="${base}/common/crm_main.html" target="_blank">客户CRM</a>--]
        [#--</div>--]
            <div class="link">
            [#--<strong>[@shiro.principal /]</strong>--]
                您好!
                <a href="../profile/edit.jhtml" target="iframe">[修改个人资料]</a>
                <a href="../logout.jsp" target="_top">[退出]</a>
            </div>
        </th>
    </tr>
    <tr>
        <td id="menu" class="menu">
            <dl id="partner" class="default">
                [#--<dt>--]
                [#--<a href="${base}/maintain/classRoomMaintain.html" class="current" target="iframe">课程维护</a>--]
                [#--</dt>--]
                [#--<dd>--]
                [#--<a href="${base}/maintain/classRoomMaintain.html" class="current" target="iframe">必修课</a>--]
                [#--</dd>--]
                [#--<dd>--]
                [#--<a href="${base}/maintain/classRoomMaintain.html" class="current" target="iframe">选修课</a>--]
                [#--</dd>--]
            [#--<dt>教室维护</dt>--]
                <dd>
                    <a href="${base}/maintain/classRoomMaintain.html" class="current" target="iframe">教室维护</a>
                </dd>
            [#--<dt>教室维护</dt>--]
                <dd>
                    <a href="${base}/maintain/studentMaintain.html" target="iframe">学生维护</a>
                </dd>
                <dd>
                    <a href="${base}/maintain/teachertMaintain.html" target="iframe">教师维护</a>
                </dd>
                <dd>
                    <a href="${base}/maintain/courseMaintain.html" target="iframe">课表维护</a>
                </dd>
                <dd>
                    <a href="${base}/maintain/majorMaintain.html" target="iframe">专业维护</a>
                </dd>
            </dl>


            <dl id="student">
                <dt>学生管理</dt>
                <dd>
                    <a href="${base}/student/selectCourse.html" class="current" target="iframe">选课</a>
                </dd>
                <dd>
                    <a href="${base}/student/courseTable.html" class="current" target="iframe">选课信息</a>
                </dd>
                <dd>
                    <a href="${base}/student/viewGrade.html" class="current" target="iframe">查看成绩</a>
                </dd>
            </dl>
            <dl id="settle">
                <dt>结算</dt>
                <dd>
                    <a href="${base}/settlement/list.html" class="current" target="iframe">结算</a>
                </dd>
            </dl>
        <td>
            <iframe id="iframe" name="iframe" src="${base}/maintain/classRoomMaintain.html"
                    frameborder="0"></iframe>
        </td>
    </tr>
</table>
</body>
</html>